Mirror-based reflection in AmbientTalk
نویسندگان
چکیده
This paper introduces a novel mechanism to perform intercession (a form of reflection) in an objectoriented programming language with the goal of making the language extensible from within itself. The proposed mechanism builds upon a mirror-based architecture, leading to a reusable reflective application programming interface that cleanly separates interface from implementation details. However, support for intercession has been limited in contemporary mirror-based architectures. This is due to the fact that mirror-based architectures only support reflection explicitly triggered by metaprograms, while intercession requires reflection implicitly triggered by the language interpreter. This work reconciles mirrors with intercession in the context of an actor-based, object-oriented programming language named AmbientTalk. We describe this language’s full reflective architecture, highlighting its novel mirror-based approach to reflect upon both objects and concurrently executing actors. Subsequently, we apply AmbientTalk’s mirror-based reflection to implement two language features, which crucially depend on intercession, to wit future-type message passing and leased object references. Copyright © 2008 John Wiley & Sons, Ltd.
منابع مشابه
Design of a Multi-Level Reflective Architecture for Ambient Actors
Ambient-Oriented Programming (AmOP) languages are especially designed for software development for pervasive and ambient computing. In this context, reflective abilities are highly desired to be able to create adaptive software. In this paper, we propose a multi-level reflective architecture for ambient actors, instantiated in the AmOP language AmbientTalk. Our architecture is structured accord...
متن کاملMIFT: A Mirror Reflection Invariant Feature Descriptor
In this paper, we present a mirror reflection invariant descriptor which is inspired from SIFT. While preserving tolerance to scale, rotation and even affine transformation, the proposed descriptor, MIFT, is also invariant to mirror reflection. We analyze the structure of MIFT and show how MIFT outperforms SIFT in the context of mirror reflection while performs as well as SIFT when there is no ...
متن کاملEffect of Mirror Therapy on Upper Limb Function: A Single Subject Study
Objectives: Mirror therapy is a unique treatment with a touch of modality that is purported to improve the motor function of the affected limb in individuals with hemiplegia. Previous studies have focused on the neuro-physiological factors underlying the mechanism of the clinical effect of this technique. The present study aims to understand the mechanism using the rehabilitation method and neu...
متن کاملForward Mapped Planar Mirror Reflections
This paper presents a new technique, which we call depth-preserving reflection mapping, to render mirror-like reflections on planar surfaces in constant time. It is a hybrid solution which combines geometry-based rendering and imagebased rendering into a two-pass mirror reflection rendering approach. The technique extends the traditional reflection mapping to preserve depth per texel and uses f...
متن کاملShacl: Operational Semantics
In this section we describe the operational semantics for a small but significant subset of our language named Shacl-Lite. The operational semantics serves as a reference specification of the semantics of our language abstractions regarding domains and views. The operational semantics of Shacl-Lite was primarily based on an operational semantics for the AmbientTalk language [1] which in turn wa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Softw., Pract. Exper.
دوره 39 شماره
صفحات -
تاریخ انتشار 2009